import { defineStore } from "pinia";
import { ref } from "vue";

export const userStore = defineStore(
    "user",
    () => {
        const businessId = ref<number>(12314);
        const business = ref<string>("");
        const userMessage = ref({
            userName: "用户名",
            headIcon: "",
            type: 0,
        });
        return { businessId, business, userMessage };
    }
    // {
    //     persist: { enabled: true },
    // }
);
